import request from '@/utils/request'

export function userLogin(data) {
  return request({
    url: '/api/sys-manager/login',
    method: 'post',
    data
  })
}

export function logout() {
  return request({
    url: '/api/sys-manager/back/logout',
    method: 'get'
  })
}

export function getUserInfo() {
  return request({
    url: '/api/sys-manager/back/getManagerInfo',
    method: 'get'
  })
}

